/*
 * Common.java
 * business
 *
 * Created by ChenTao on 2016/9/9.
 *
 * Copyright (c) 2016年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.constant;

import com.yidiandao.business.utils.UIUtils;

/**
 * 通用常量.
 */
public interface Common {

    /**
     * 访问服务器接口用的key
     */
    String SERVER_KEY = "E9E491DFEDBB9B29355014EE777F1C1B";

    /**
     * UserAgent添加标识
     */
    String USER_AGENT_HINT = "EC7B4D5641AF9D82D672900E9F80564E";

    /**
     * 两次点击退出的时间间隔,1秒
     */
    int EXIT_INTERVAL = 1000;

    /**
     * 单页数据20条
     */
    int PAGER_SIZE = 20;


    /**
     * 接口数据缓存目录的名称
     */
    String SERVER_DATA_DIR_NAME = "data";

    /**
     * 倒计时时间间隔
     */
    long COUNT_DOWN_TIME = 1000;

    String TEMP_TAKE_PHOTO = "temp.jpg";

    String TEMP_PHOTO_ALBUMS = "albums.jpg";

    /**
     * 扫描二维码之后上传需要的字段
     */
    int FROM_APP = 1;

    /**
     * Splash时间
     */
    long SPLASH_TIME = 2000;

    long BANNER_SWITCH_TIME = 3000;
    /**
     * 发布图片时最多的张数
     */
    int PICTURESIZE = 6;

    long FRAME_DELAY = 5000;

    /**
     * 签到抽奖获奖名单的item高度
     */
    int SIGNWINNER_ITEMHEIGHT = UIUtils.dp2px(25);

    /**
     * 签到抽奖获奖名单的展示条数
     */
    int WINNER_COUNT = 8;

    long DEFAULT_ANIMATOR_DURATION = 500;

    String GAODE = "com.autonavi.minimap"; //高德地图包名

    String BAIDU = "com.baidu.BaiduMap"; //百度地图

    String TENGXUN = "com.tencent.map"; //腾讯地图

    String SOUGOU = "com.sogou.map.android.maps"; //搜狗地图
}
